package com.incon.project.hello.service;
import java.util.List;

import javax.annotation.Resource;
import org.springframework.stereotype.Service;

import com.incon.pojo.UserEntity;
import com.incon.project.hello.mapper.UserMapper;


@Service
public class LoginServiceImpl implements ILoginService{

    @Resource
    private UserMapper um;

    public UserEntity Login(String username, String password) {
        return um.login(username, password);
    }
    public List<UserEntity> findUserByIdSql(String yhdm) throws Exception {

			return um.findUserByIdSql(yhdm);

    }
}